﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Matlus.MetaWeblog
{
  public interface IMetaWeblogProvider
  {
    BlogInfo[] GetUserBlogs(string appkey, string userName, string password);
    Post[] GetRecentPosts(string userName, string password, string blogid, int noOfPosts);
    CategoryInfo[] GetCategories(string userName, string password);
    int NewPost(string userName, string password, string blogid, Post post);
    void EditPost(string userName, string password, Post post);
    Post GetPost(string userName, string password, int postid);
    void DeletePost(string userName, string password, int postid);
    MediaObjectInfo NewMediaObject(string userName, string password, MediaObject mediaObject);
  }
}